package com.tz.se.day01;

import java.util.Scanner;

public class SwitchDemo {
public static void main(int[] args) {
	Scanner src = new Scanner(System.in);
	System.out.println("请输入月份");
	int str = src.nextInt();
	switch (str) {
	case 1 :
		System.out.println("春");
		break;
	case 2 :
		System.out.println("春");
		break;
	case 3 :
		System.out.println("春");
		break;
	case 4 :
		System.out.println("夏");
		break;
	case 5 :
		System.out.println("夏");
		break;
	case 6 :
		System.out.println("夏");
		break;
	case 7 :
		System.out.println("秋");
		break;
	case 8 :
		System.out.println("秋");
		break;
	case 9 :
		System.out.println("秋");
		break;

	default:
		System.out.println("冬");
		break;
	}
	src.close();
}
}
